﻿html, body, div, ul, li, a, table, thead, tbody, tr, th, td
{
    margin: 0;
    padding: 0;
}

.linear-gradient(@from-color, @from-pos, @to-color, @to-pos)
{
    background: @from-color; /* Old browsers */
    background: -moz-linear-gradient(top,  @from-color @from-pos, @to-color @to-pos); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(@from-pos,@from-color), color-stop(@to-pos,@to-color)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  @from-color @from-pos,@to-color @to-pos); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  @from-color @from-pos,@to-color @to-pos); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  @from-color @from-pos,@to-color @to-pos); /* IE10+ */
    background: linear-gradient(to bottom,  @from-color @from-pos,@to-color @to-pos); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@{from-color}', endColorstr='@{to-color}',GradientType=0 ); /* IE6-9 */
}

body
{
    font-family: Cambria, 'Times New Roman', 'Nimbus Roman No9 L', 'Freeserif', Times, serif;
    font-size: 16px;

    a
    {
        font-family: Cambria, 'Times New Roman', 'Nimbus Roman No9 L', 'Freeserif', Times, serif;
        font-size: 16px;
    }

    div#wrapper
    {
        width: 960px;

        ul.tab-strip
        {
            display: inline-block;
            border: 1px solid black;
            border-radius: 5px;
            margin: 15px;
            height: 230px;
            width: 340px;

            position: relative;

            > li
            {
                display: inline-block;
                padding: 5px 15px;
                border-bottom: 1px solid black;
                border-right: 1px solid black;
                border-radius: 5px;
                .linear-gradient(#EDEDED, 0%, #ABABAB, 100%);

                > a
                {
                    text-decoration: none;
                    color: black;
                    font-size: 1.4em;
                }

                > div.tab-content
                {
                    display: none;
                }

                &:hover
                {
                    background: #EEEEEE;
                }

                &:last-of-type
                {
                    border-right: 0;
                }
            }

            > li.current
            {
                border-bottom: 0;
                border-right: 1px solid black;
                border-radius: 0;
                background: none;

                > a
                {
                    font-weight: bold;
                }

                &:last-of-type
                {
                    border-right: 0;
                }

                > div.tab-content
                {
                    position: absolute;
                    left: 0px;
                    top: 30px;
                    padding: 20px;
                    display: block;

                    > ul
                    {
                        list-style-type: disc;
                        
                        > li
                        {
                            > ul
                            {
                                list-style-type: lower-alpha;
                                margin-left: 25px;
                            }
                        }
                    }

                    > table
                    {
                        border: 1px solid black;
                        border-collapse:collapse;
                        
                        tr
                        {
                            td, th
                            {
                                width: 100px;
                                border: 1px solid black;
                                padding: 5px;
                            }

                            th
                            {
                                //text-align: center;
                                .linear-gradient(#ABABAB, 0%, #EEEEEE, 100%);
                            }

                            td
                            {
                                background: #EEEEEE;
                            }
                        }
                    }
                }
            }
        }
    }
}